package com.qiaoas.springbootddd.Domain.DomainObject.Impl;

import com.qiaoas.springbootddd.Infrastructure.Domain.DomainObject.BaseBoEntity;

/**
 * 用户表ORM对象
 */
public class UserEntity extends BaseBoEntity {
    public UserEntity() {
    }

    public UserEntity(int no, String name, int age, String city) {
        this.no = no;
        this.name = name;
        this.age = age;
        this.city = city;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    private int no;
    private String name;
    private int age;
    private String city;
}
